package com.atguigu.gulimall.gateway.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Created: with IntelliJ IDEA.
 * @author: 夏沫止水
 * @createTime: 2020-06-30 17:12
 **/

@Controller
@RequestMapping("testcontroller")
public class TestCartController {



    /**
     * 获取当前用户的购物车商品项
     * @return
     */
    @GetMapping(value = "/test")
    @ResponseBody
    public String getCurrentCartItems() {


        return "test陈共";
    }



}
